

CONFIG  += gordevio
CONFIG  += dll_tif_no

win32-msvc*{
####  SkinStyle_no styler not to build on VS
}

DEFINES += _RAMCOMPRESSION_YES_

contains(!CONFIG, gordevio ) {
CONFIG   += warn_on
} else {
CONFIG   += warn_off
}



QT_VERSION = $$[QT_VERSION]
QT_VERSION = $$split(QT_VERSION, ".")
QT_VER_MAJ = $$member(QT_VERSION, 0) 
QT_VER_MIN = $$member(QT_VERSION, 1) 
QT_VER_PAT = $$member(QT_VERSION, 2) 


lessThan(QT_VER_MAJ, 4) | lessThan(QT_VER_MIN, 4) {
    error(The current build requires Qt 4.4.0 or newer. Version $$[QT_VERSION] was detected. optimum 4.5)
} else {
   message(Version $$[QT_VERSION] was detected)
}


LIB_EXTENSION = a

win32-msvc*{
LIB_EXTENSION = lib
DEFINES += _VISUALSTUDIOCCBUILD_
message(win32 Visual Studio Compiler setting) 
}

win32-g++{
DEFINES += _MINGWCCBUILD_
message(win32 MINGW Compiler setting) 
}

win32 {

    BUILD_TREE_PATH = $$PWD
    message(Window path  $$BUILD_TREE_PATH)
    
############### conflict obj ###########################

win32-g++{ 
    MOC_DIR = build_mingw/.moc
    RCC_DIR = build_mingw/.rcc
    OBJECTS_DIR = build_mingw/.obj
}

win32-msvc*{
    MOC_DIR = build_vs/.moc
    RCC_DIR = build_vs/.rcc
    OBJECTS_DIR = build_vs/.obj
}

############### conflict obj ###########################

}



unix {
    BUILD_TREE_PATH = $$PWD
    message(Unix path  $$BUILD_TREE_PATH)
}
macx {
    BUILD_TREE_PATH = $$PWD
    message(Mac path $$BUILD_TREE_PATH)
}


macx {
    QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
    CONFIG+=x86 ppc
}




INCLUDEPATH += $$BUILD_TREE_PATH/_src_libstyle
DEPENDPATH += $$BUILD_TREE_PATH/_src_libstyle




INCLUDEPATH += "$$(QTDIR)/src/3rdparty/zlib"

####  dll or static lib

INCLUDEPATH += $$BUILD_TREE_PATH/_src_libtiff
DEPENDPATH += $$BUILD_TREE_PATH/_src_libtiff












































